<template>
  <div id="app">
   <div id="nav">
      <router-link to="/index">首页</router-link>
    <router-link to="/about/1">关于</router-link>
     <router-link to="/about/2">关于2</router-link>
    <router-link to="/movie">电影</router-link>
    </div>

    <router-view></router-view>
  </div>
</template>

<script>
export default {
  data(){
    return{

    }
  }

}

</script>

<style scoped>
#app{
  background-color: aqua;
  height: 200px;
}
#nav{
  text-align: center;
  
}

</style>